﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UserModels;
using UserModels.DTO;

namespace UserRepositorys.Intface
{
    public interface ITiesRepository : IRepository<TiesInfoModel>
    {
        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="roleMenuInfo"></param>
        /// <returns></returns>
        Task<int> AddRoleMune(RoleMenuInfoDTO roleMenuInfo);
        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="roleId"></param>
        /// <returns></returns>
        Task<int> DeleteRoleMune(int roleId);
    }
}
